// 请求响应的通用字段的类型限制
export interface responseData {
  code: number;
  message: string;
  ok: boolean;
}
// 获取skuList接口返回的records字段(数组)的(对象)的类型限制
export interface sku {
  id: number | string;
  spuId: number | string;
  price: number;
  skuName: string;
  skuDesc: string;
  weight: string;
  tmId: number | string;
  category3Id: number | string;
  skuDefaultImg: string;
  isSale: number;
  createTime: string;
  skuImageList: null;
  skuAttrValueList: null;
  skuSaleAttrValueList: null;
}
// 获取skuList接口返回的records字段的类型限制
export type skuList = sku[];
// 获取skuList接口返回的data字段的类型限制
export interface getSkuListData {
  records: skuList;
  total: number;
  size: number;
  current: number;
  searchCount: boolean;
  pages: number;
}
// // 获取skuList接口返回的全部字段的类型限制
export interface getSkuListResponseData extends responseData {
  data: getSkuListData;
}
